import request from '@/utils/request'

// 查询certificatechart列表
export function listCertificate(query) {
  return request({
    url: '/nongjt/certificate/list',
    method: 'get',
    params: query
  })
}

// 查询certificatechart详细
export function getCertificate(id) {
  return request({
    url: '/nongjt/certificate/' + id,
    method: 'get'
  })
}

// 删除certificatechart
export function delCertificate(id) {
  return request({
    url: '/nongjt/certificate/' + id,
    method: 'delete'
  })
}
